<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>江门市青少年宫</title>
  <link rel="stylesheet" href="/static/layui-v2.6.3/css/layui.css">
    {% block link %}{% endblock %}
    {% block style %}{% endblock %}
</head>
<body>

<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo layui-hide-xs layui-bg-black"><a style="color: white" href="/admin">教学系统-后台</a></div>
    <!-- 头部区域（可配合layui 已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item">
        <i class="layui-icon layui-icon-spread-left"></i>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item layui-hide layui-show-md-inline-block">
        <a href="javascript:;">
          <span id="rootname">{{ user.root.name }}</span>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="/user/login_out">退出登录</a></dd>
        </dl>
      </li>

      <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
        <a href="javascript:;">
          <i class="layui-icon layui-icon-more-vertical"></i>
        </a>
      </li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree" lay-filter="test">
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">用户管理</a>
            <dl class="layui-nav-child">
              <dd><a href="/admin/student_list">查看所有学生</a></dd>
              <dd><a href="/admin/teacher_list">查看所有老师</a></dd>
              <dd><a href="/admin/root_list">查看所有管理员</a></dd>
              <dd><a href="/admin/add_student_url">添加学生</a></dd>
              <dd><a href="/admin/add_teacher_url">添加老师</a></dd>
              <dd><a href="/admin/add_root_url">添加管理员</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">课程管理</a>
            <dl class="layui-nav-child">
              <dd><a href="/admin/class_list">查看所有课程</a></dd>
              <dd><a href="/admin/add_classes_url">添加课程</a></dd>
            </dl>
          </li>
{#          <li class="layui-nav-item">#}
{#            <a href="javascript:;">作品管理</a>#}
{#            <dl class="layui-nav-child">#}
{#              <dd><a href="">查看所有作品</a></dd>#}
{#            </dl>#}
{#          </li>#}
{#          <li class="layui-nav-item">#}
{#            <a href="javascript:;">作品录像管理</a>#}
{#            <dl class="layui-nav-child">#}
{#              <dd><a href="">查看所有作品录像</a></dd>#}
{#            </dl>#}
{#          </li>#}
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">测评管理</a>
            <dl class="layui-nav-child">
              <dd><a href="/admin/test_paper_list_url">查看所有测评</a></dd>
{#              <dd><a href="">添加测评试卷</a></dd>#}
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">题库管理</a>
            <dl class="layui-nav-child">
              <dd><a href="/admin/question_bank_list_url">查看题库</a></dd>
              <dd><a href="/admin/query_teacher_question_bank_rel_url">权限管理</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;">班级签到</a>
            <dl class="layui-nav-child">
                <dd><a href="/admin/sign_in_log_classes_url">签到记录</a></dd>
            </dl>
          </li>
      </ul>
    </div>
  </div>

  <div class="layui-body">
    <!-- 内容主体区域 -->
    {% block content_main %}
        <div class="layui-container">
        </div>
    {% endblock %}
{#    <div class="layui-footer">#}
{#      &copy 江门市青少年宫#}
{#    </div>#}
  </div>
</div>

<script src="/static/layui-v2.6.3/layui.js"></script>
<script src="/static/jquery-3.4.1/jquery-3.4.1.min.js"></script>

{% block script %}{% endblock %}

</body>
</html>
